import request from "../request.js"

/**
 *  用户登录相关的请求接口
 */
const token = uni.getStorageSync('token');
export default {
	//获取轮播图列表
	getBanners() {
		return request("/index/banner/list", "GET")
	},
	
	//获取热门帖子
	getHotTopics(current){
		return request("/index/hotTopic/list/"+current, "GET")
	},
	
	//获取热门用户
	getHotUsers(current){
		return request("/index/hotUser/list/"+current, "GET")
	},
}
